import axios from '@/libs/api.request'

export const queryElectList = (data) => {
    return axios.request({
        url: '/elect/commission/list',
        method: 'post',
        data
    })
}

export const queryElectById = (id) => {
    return axios.request({
        url: '/elect/commission/queryById',
        method: 'get',
        params: {
            id
        }
    })
}
